package com.anlu.pattern.create.factory.fatoryMethod;

import com.anlu.pattern.common.entity.Fruit;
import com.anlu.pattern.common.entity.fruit.Banana;

/**
 * @author anlu
 * @create 2019/11/22
 **/

public class BananaFactory implements FruitFactory {

    @Override
    public Fruit getFruit() {
        return new Banana();
    }


}
